<script setup>
const emits = defineEmits(['closeSimp']);
function closeClick() {
  emits('closeSimp');
}
</script>

<template>
  <div class="simplicity">
    <div class="cardBox">
      <button @click="closeClick()"></button>
      <div class="cards">
        <label>朱家角污水厂</label>
        <div class="content">
          <div class="card">
            <label>概况</label>
            <img :src="require('../assets/simp_card1.png')" />
            <p>上海朱家角污水处理工程建设有限公司位于318国道南侧、朱泖河西岸。根据《青浦新城“十三五”污水规划》，朱家角污水处理厂的服务范围包括中心镇、工业区、特色居住区、休闲旅游区、沈巷社区和青浦新城西片区。目前在册职工57人，服务面积38.2km2，服务人口约28.8万人。</p>
          </div>
          <div class="card">
            <label>建设</label>
            <img :src="require('../assets/simp_card2.png')" />
            <p>公司占地面积约150亩，分三期建设,目前已建一期工程规模为1.5万吨/日，于2003年投入运行；二期工程规模为1.5万吨/日，于2016年建成投产；三期工程规模为3万吨/日，于2020年底建成投入试运营，总处理能力已达6万吨/日,是目前青西区最大的污水处理厂，承担着青西地区控制污染物减排，保护环境，保障人民身体健康的重任。</p>
          </div>
          <div class="card">
            <label>发展</label>
            <img :src="require('../assets/simp_card3.png')" />
            <p>随着上海市对环保要求的进一步提高，以及青浦区规划发展的需求，朱家角污水处理厂于2020年底完成了三期项目的扩建工作，于2021年7月前完成了一、二期项目的提标改造工作，完成改扩建后的朱家角污水处理厂污水总处理能力达到6万吨/日，远期规模为9万吨/日。出水水质达到《城镇污水处理厂污染物排放标准》。</p>
          </div>
          <div class="card">
            <label>工艺</label>
            <img :src="require('../assets/simp_card4.png')" />
            <p>污水处理：采用一级处理（格栅+曝气沉砂池+初沉池）+ 二级生物处理（改良Bardenpho 工艺）+ 深度处理（高效磁混凝沉淀池+深床滤池）+ 接触消毒，最终使污水厂出水水质指标稳定达标。 污泥处理：采用重力浓缩+机械离心脱水工艺，将污泥处理至含水率80%以下，处理后的泥饼再外运处理。 </p>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<style lang="scss" scoped>
@font-face {
  font-family: "YouSheBiaoTiHei";
  src: url("/font/优设标题黑.ttf");
}
.simplicity {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(2, 20, 30, 0.9);
  z-index: 999;
  text-align: center;
}
$scale: 0.83;
.cardBox {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  width: 1558px * $scale;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
button {
  background: url('../assets/simp_close.png');
  background-size: 100% 100%;
  border: none;
  width: 90px;
  height: 3.7%;
  cursor: pointer;
}
.cards {
  transform: translateY(-2px);
  width: 100%;
  height: 904px * $scale;
  background: url('../assets/simp_bg.png');
  background-size: 100% 100%;
  position: relative;
  >label {
    font-size: 44px * $scale;
    font-family: YouSheBiaoTiHei;
    color: #FFFFFF;
    line-height: 52px * $scale;
    letter-spacing: 13px;
    position: absolute;
    top: 25px * $scale;
    left: 50%;
    transform: translateX(-50%);
  }
}
.content {
  background: linear-gradient(180deg, #14191D 0%, #0D2A2D 100%);
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 801px * $scale;
  padding: 0 65px * $scale;
  display: flex;
  justify-content: space-between;
  .card {
    margin: 18px * $scale 50px * $scale 30px * $scale;
    width: 256px * $scale;
    height: calc(100% - 48px * $scale);
    background: rgba(9,88,93,0.5);
    box-shadow: 0px 4px 4px 4px rgba(0,0,0,0.3);
    border-radius: 22px * $scale;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
  }
  .card:nth-child(1) {
    animation: cardshow1 1s linear 0s;
    -webkit-animation: cardshow1 1s linear 0s;
    animation-fill-mode: forwards;
    -webkit-animation-fill-mode: forwards;
  }
  .card:nth-child(2) {
    animation: cardshow1 1s linear 1.2s;
    -webkit-animation: cardshow1 1s linear 1.2s;
    animation-fill-mode: forwards;
    -webkit-animation-fill-mode: forwards;
  }
  .card:nth-child(3) {
    animation: cardshow1 1s linear 2.4s;
    -webkit-animation: cardshow1 1s linear 2.4s;
    animation-fill-mode: forwards;
    -webkit-animation-fill-mode: forwards;
  }
  .card:nth-child(4) {
    animation: cardshow1 1s linear 3.6s;
    -webkit-animation: cardshow1 1s linear 3.6s;
    animation-fill-mode: forwards;
    -webkit-animation-fill-mode: forwards;
  }
  label {
    margin-top: 10px * $scale;
    width: 77px * $scale;
    font-size: 22px * $scale;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 35px * $scale;
    border-bottom: 3px solid #9ED3D9;
  }
  img {
    margin-top: 13px * $scale;
    width: 193px * $scale;
    height: 235px * $scale;
  }
  p {
    margin-top: 22px * $scale;
    width: 100%;
    padding: 0 12px * $scale;
    font-size: 12px;
    font-family: Source Han Sans CN, Source Han Sans CN;
    color: #FFFFFF;
    text-align: start;
    line-height: 35px * $scale;
  }
}
@keyframes cardshow1 {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
</style>